package com.ode.demo1;

import demo2.IRunning;

public class Test {
    public static void running(IRunning iRunning){
        iRunning.run();
    }
    public static void main(String[] args) {
        Ani ani = new Ani();
        Dog dog = new Dog();
        ani.panduan(new Dog());
        running(dog);
    }
}
